import { createApp } from "vue";

import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import locale from "element-plus/es/locale/lang/zh-cn";
import "./asset/reset.css";
import App from "./App.vue";
//引入路由
import router from "./router";
const app = createApp(App);
//使用路由
app.use(router);
//使用ELementPlus UI组件
app.use(ElementPlus, { locale });
//挂载根组件app
app.mount("#app");
